<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="../Estilos/estiloLogin.css">

<script type="text/javascript" src="../js/jsLogin.js"></script>


<title>Melhor Cinema - Acesso ao Sistema</title>
</head>
<body onload="validarUsuario(); validarCliente();">
<jsp:useBean id="beanUsuario" class="Bean.BeanUsuario" scope="session"/>
<!-- Tela de Login -->
   <div>
     	<div id="imgLogo"></div>
   		<div class="tituloPrincipal"></div>
   </div>
   <form action="envioBeanUsuario.jsp?opcao=logar" method="post" onsubmit="return validaObrigatorios()">
   		<fieldset>
   		<legend></legend>
   			<label for="login"> Login:</label>
   			<input type="text" id="login" name="login" value="${beanUsuario.login}" /> <br>
   			<label for="senha"> Senha:</label>
   			<input type="password"  id="senha" name="senha" value="${beanUsuario.senha}"/> <br>
   			<a href="../ControladorCliente?opcao=novo">Quero me cadastrar!</a>
   			<input type="submit" id="btnEntrar"  class="botao" value="Entrar"/>
   		</fieldset>
   	
   </form>
</body>
</html>